package com.wayhome.springfarmework.beans.factory.config;

import com.wayhome.springfarmework.beans.factory.HierarchicalBeanFactory;

/**
 * 可配置的BeanFactory 管理类的范围 是单例还是多实例
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry{

    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

}
